package designmodel.observe2.delegate;

import designmodel.composite.observer.Observer;

/**
 * @author 陈泰来
 * @version V1.0
 * @Project echo-java-base
 * @Title 委托事件处理接口
 * @Description *
 * @Package designmodel.observe2.delegate
 * @date 2021/3/4 1:58 下午
 * @Copyright:学如逆水行舟，不进则退 .
 */
public interface IEventHandler {

    //添加一个委托事件
    EventHandler addEvent(Object object, String methodName, Object... methodParams);

    //删除一个委托事件
    EventHandler delEvent(Event e);

    void notifyX() throws Exception;

}
